package org.locker.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.locker.common.mybatis.core.domain.BaseEntity;

import java.math.BigDecimal;

import java.io.Serial;
import java.util.Date;

/**
 * 代理商费用记录(场地)对象 lk_manager_fees
 *
 * @author winnie
 * @date 2023-10-11
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("lk_manager_fees")
public class ManagerFees extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    @TableId(value = "manager_fees_id")
    private Long managerFeesId;

    /**
     * 管理员ID/代理id
     */
    private Long sysUserId;

    /**
     * 场地ID
     */
    private Long positionId;

    /**
     * 总分成金额(来源订单累计)
     */
    private BigDecimal amount;

    /**
     * 冻结金额
     */
    private BigDecimal freezeAmount;

    /**
     * 剩余可提现余额
     */
    private BigDecimal residueAmount;

    /**
     * 备注
     */
    private String remark;

    /**
     * 版本号
     */
    private Date version;


}
